new Vue({
  el: '#app',
  data: {
    active: 3,
    loading: true,
    list: []
  },
  mounted () {
    this.loading = false
    this.main()
  },
  methods: {
    onClickLeft: function () {
      history.go(-1)
    },
    async main() {
      let list = await $http.get('/api/notice/noticelist')
      this.list = list.data.data
    },
  }
})